setGlobalDuration(10)

base_pitch = 100
chd = [60, 64, 67]
env = genAdsr()

pinkNoise(amplitude = .02, envelope = env, duration = 7, out = 'noise')
for i in range(3):
    tr = midiToTranspo(chd[i])
    resonator(input = 'noise', pitch = base_pitch * tr, feedback = .995)

startCsound()